#pragma once
#include "GameBase.h"
#include "SubStructure.h"
#include "jsonreader.h"
#include "UserBullet.h"

class GameScene;
class Bullet;

class PCBulletFactory : public GameBase
{
private:
	LPDIRECT3DTEXTURE9 UserBulletTex;

	BoundingBox bound;

	jsonreader* reader;
	GameScene* scene;
	static PCBulletFactory* _p_this;
	PCBulletFactory();
public:
	static PCBulletFactory* Instance();
	~PCBulletFactory();
	UBList MakeBullet(Event_struct* bulletinfo);
	void SetScene(GameScene* nscene);
};